package com.farm.kaiping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.farm.kaiping.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

/**
 * 用户表(SysUser)表数据库访问层
 *
 * @author farm
 * @since 2024
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Select("SELECT ${ew.sqlSelect} FROM sys_user ${ew.customSqlSegment}")
    List<SysUser> selectExportList(@Param(Constants.WRAPPER) Wrapper wrapper);

}

